package com.ztesoft.web.common.db.po;

import java.util.Date;

import org.apache.commons.lang.StringUtils;

import com.ztesoft.framework.dto.AbstractDto;

public class DmPO extends AbstractDto {
	private Long dmDetailId;
	private Integer dmStrategyId;
	private Integer dmTaskId;
	private String dmObjectName;
	private String dmObjectKeyName;
	private String dmObjectKeyValue;
	private Date createDate;
	private Integer recordCount;
	private String state;
	private Date stateDate;
	private String errorDesc;
	private Integer parentDetailId;
	private String dmTargetTableName;
	
	private Integer count;

	public Long getDmDetailId() {
		return dmDetailId;
	}

	public void setDmDetailId(Long dmDetailId) {
		this.dmDetailId = dmDetailId;
	}

	public Integer getDmStrategyId() {
		return dmStrategyId;
	}

	public void setDmStrategyId(Integer dmStrategyId) {
		this.dmStrategyId = dmStrategyId;
	}

	public Integer getDmTaskId() {
		return dmTaskId;
	}

	public void setDmTaskId(Integer dmTaskId) {
		this.dmTaskId = dmTaskId;
	}

	public String getDmObjectName() {
		return StringUtils.isBlank(dmObjectName) ? dmObjectName : dmObjectName
				.trim();
	}

	public void setDmObjectName(String dmObjectName) {
		this.dmObjectName = dmObjectName;
	}

	public String getDmObjectKeyName() {
		return StringUtils.isBlank(dmObjectKeyName) ? dmObjectKeyName
				: dmObjectKeyName.trim();
	}

	public void setDmObjectKeyName(String dmObjectKeyName) {
		this.dmObjectKeyName = dmObjectKeyName;
	}

	public String getDmObjectKeyValue() {
		return StringUtils.isBlank(dmObjectKeyValue) ? dmObjectKeyValue
				: dmObjectKeyValue.trim();
	}

	public void setDmObjectKeyValue(String dmObjectKeyValue) {
		this.dmObjectKeyValue = dmObjectKeyValue;
	}

	public Integer getRecordCount() {
		return recordCount;
	}

	public void setRecordCount(Integer recordCount) {
		this.recordCount = recordCount;
	}

	public String getState() {
		return StringUtils.isBlank(state) ? state : state.trim();
	}

	public void setState(String state) {
		this.state = state;
	}
	
	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getStateDate() {
		return stateDate;
	}

	public void setStateDate(Date stateDate) {
		this.stateDate = stateDate;
	}

	public String getErrorDesc() {
		return StringUtils.isBlank(errorDesc) ? errorDesc : errorDesc.trim();
	}

	public void setErrorDesc(String errorDesc) {
		this.errorDesc = errorDesc;
	}

	public Integer getParentDetailId() {
		return parentDetailId;
	}

	public void setParentDetailId(Integer parentDetailId) {
		this.parentDetailId = parentDetailId;
	}

	public String getDmTargetTableName() {
		return StringUtils.isBlank(dmTargetTableName) ? dmTargetTableName
				: dmTargetTableName.trim();
	}

	public void setDmTargetTableName(String dmTargetTableName) {
		this.dmTargetTableName = dmTargetTableName;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

}